/* 权限检查页面样式 */
.permission-denied {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.permission-content {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

.permission-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.permission-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.permission-message {
  font-size: 16px;
  color: #666;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.permission-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.permission-actions .ant-btn {
  height: 44px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .permission-content {
    padding: 40px 24px;
    margin: 0 16px;
  }

  .permission-icon {
    font-size: 48px;
  }

  .permission-title {
    font-size: 24px;
  }

  .permission-actions {
    flex-direction: column;
  }

  .permission-actions .ant-btn {
    width: 100%;
  }
}

.user-management {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header h2 {
  margin-bottom: 8px;
  color: #1f2937;
}

.description {
  color: #6b7280;
  margin: 0;
}

.filter-section {
  margin-bottom: 24px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.table-section {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Ant Design 深度选择器样式 */
:deep(.ant-table) {
  font-size: 14px;
}

:deep(.ant-table-thead > tr > th) {
  background: #f8fafc;
  font-weight: 600;
}

:deep(.ant-tag) {
  border-radius: 4px;
}

:deep(.ant-btn-text) {
  padding: 2px 6px;
  height: auto;
}

/* 管理员账号特殊样式 */
:deep(.ant-table-tbody > tr:has(td:nth-child(2):contains('woaichitudouo'))) {
  background-color: #f0f9ff;
}
